package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;

/**
 * 订单实体
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Orders {
    private Integer id; //订单主键
    private LocalDateTime orderDate; //下单时间
    private String orderNumber; //订单编号
    private Double price; //订单价格
    private User user; //所属用户
}
